package study.distributed.transaction;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import study.distributed.transaction.config.Trans0Properties;
import study.distributed.transaction.config.Trans1Properties;

@SpringBootApplication
@EnableTransactionManagement
@EnableConfigurationProperties({Trans1Properties.class, Trans0Properties.class})
public class TransactionXaApplication {

    public static void main(String[] args) {
        SpringApplication.run(TransactionXaApplication.class, args);
    }

}
